<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
	  <t:datagrid name="txList" checkbox="false" fitColumns="true" title="充值记录" 
	  			  actionUrl="studentAccountController.do?chargeLogDatagrid" idField="id" fit="true" queryMode="group">
		  <t:dgCol title="主键"  field="id"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
		  <t:dgCol title="充值时间"  field="txDate" formatter="yyyy-MM-dd hh:mm" queryMode="single"  width="120"></t:dgCol> 
		  <t:dgCol title="用户名"  field="userName"   query="true" queryMode="single"  width="120"></t:dgCol> 
		  <t:dgCol title="姓名"  field="studentName"   query="true" queryMode="single"  width="120"></t:dgCol>  
		  <t:dgCol title="充值金额"  field="txAmount"    queryMode="single"  width="100"></t:dgCol>
		  <t:dgCol title="充值后余额"  field="afterBalance"    queryMode="single"  width="100"></t:dgCol>
		  <t:dgCol title="操作人姓名"  field="operateUserName"    queryMode="single"  width="100"></t:dgCol> 
	  </t:datagrid>
  </div>
</div>
<script type="text/javascript"> 
	$(document).ready(function(){
		//给时间控件加上样式
		$("input[name='txDate_begin']").attr("class","Wdate").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
		$("input[name='txDate_end']").attr("class","Wdate").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
	});


	//导出
	function ExportXls() {
		JeecgExcelExport("dictDeviceBrandController.do?exportXls","dictDeviceBrandList");
	} 
</script>